package com.itsitio.registeradmin.dao.impl;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.itsitio.registeradmin.dao.PortalDao;
import com.itsitio.registeradmin.dao.base.SpringHibernateDao;
import com.itsitio.registeradmin.model.Portal;


@Repository
@Transactional
public class PortalDaoImpl extends SpringHibernateDao<Portal> implements PortalDao
{
	@Autowired
	public PortalDaoImpl(SessionFactory sessionFactory) {
		super(sessionFactory);
	}	
	
	@Override
	protected Class<Portal> getObjetoManejado() {
			return Portal.class;
	}
	
}
